Image Displaying Methods, Devices, and Storage Media

ABSTRACT

Image displaying methods, devices, and computer-readable non-transitory storage media containing instructions for implementing the displaying methods are disclosed. In one embodiment, a method includes acquiring an image upon receipt of a request for displaying the image, locating in the image an image region composed of at least three adjoining monochromatic sections, when a difference in color value between any two adjacent ones of the adjoining monochromatic sections in the image region is less than a threshold value, calculating one or more target color values using color values of the monochromatic sections in the image region, replacing color values of the image region with the target color values to generate a target image, and displaying the target image.

CROSS REFERENCE TO RELATED APPLICATION

This application is based upon and claims the benefit of priority fromthe prior Chinese Patent Application No. 201510424387.8, filed on Jul.17, 2015, which is incorporated herein by reference in its entirety.

TECHNICAL FIELD

The present disclosure relates to the technical field of communicationsand, more particularly, to image processing and displaying.

BACKGROUND

LCD panels may be based on liquid crystals operating in variousdifferent modes and alignment. LCD screens may be classified into hardscreens and soft screens. Soft screens, which mainly refer to panelsbased on vertical alignment (VA) type liquid crystals, are characterizedin that, when a soft screen is touched by a finger, a water rippleeffect may appear on the soft screen.

SUMMARY

This Summary is provided to introduce a selection of concepts in asimplified form that are further described below in the DetailedDescription. This Summary is not intended to identify key features oressential features of the claimed subject matter, nor is it intended tobe used to limit the scope of the claimed subject matter.

According to one embodiment of the present disclosure, a method isprovided, comprising: acquiring an image upon receipt of a request fordisplaying the image; locating in the image an image region composed ofat least three continuously adjoining monochromatic sections, whereineach of the monochromatic sections comprises four or more continuouspixels; when a difference in color value between any two adjacentsections of the adjoining monochromatic sections in the image region isless than a threshold value, calculating one or more target color valuesbased on color values of the monochromatic sections in the image region;replacing color values of the image region in the image with the one ormore target color values to generate a target image; and displaying thetarget image, storing the target image.

In another embodiment, a method is disclosed comprising: acquiring animage upon receipt of a request for displaying the image on a displaydevice; determining whether the display device is a soft screen;displaying the image in the display device when the display device isnot a soft screen; and when the display device is a soft screen,locating in the image an image region composed of at least threecontinuously adjoining monochromatic sections wherein each of themonochromatic sections comprises four or more continuous pixels; when adifference in color value between any two adjacent sections of theadjoining monochromatic sections in the image region is less than athreshold value, calculating one or more target color values based oncolor values of the monochromatic sections in the image region;replacing color values of the image region in the image with the one ormore target color values to generate a target image; and displaying thetarget image in the display device.

In another embodiment, a device is disclosed comprising: a memory havingcodes stored therein; and one or more processors, when executing thecodes, configured to: acquire an image upon receipt of a request fordisplaying the image; locate in the image an image region composed of atleast three continuously adjoining monochromatic sections wherein eachof the monochromatic sections comprises four or more continuous pixels;when a difference in color value between any two adjacent sections ofthe adjoining monochromatic sections in the image region is less than athreshold value, calculate one or more target color values based oncolor values of the monochromatic sections in the image region; replacecolor values of the image region in the image with the one or moretarget color values to generate a target image; and display the targetimage.

In another embodiment, a device is disclosed comprising: a memory havingcodes stored therein; and one or more processors, when executing thecodes, configured to: acquire an image upon receipt of a request fordisplaying the image on a display device; determine whether the displaydevice is a soft screen; display the image in the display device whenthe display device is not a soft screen; and when the display device isa soft screen, locate in the image an image region composed of at leastthree continuously adjoining monochromatic sections wherein each of themonochromatic sections comprises four or more continuous pixels; when adifference in color value between any two adjacent sections of theadjoining monochromatic sections in the image region is less than athreshold value, calculating one or more target color values based oncolor values of the monochromatic sections in the image region; replacecolor values of the image region in the image with the one or moretarget color values to generate a target image; and display the targetimage in the display device.

In yet another embodiment, non-transitory computer-readable storagemedium comprising instructions stored therein that, when executed by aprocessor of a computing device, causes the computing device to: acquirean image upon receipt of a request for displaying the image; locate inthe image an image region composed of at least three continuouslyadjoining monochromatic sections; when a difference in color valuebetween any two adjacent sections of the adjoining monochromaticsections in the image region is less than a threshold value, calculateone or more target color values based on color values of themonochromatic sections in the image region; replace color values of theimage region in the image with the one or more target color values togenerate a target image; and display the target image.

BRIEF DESCRIPTION OF THE DRAWINGS

The devices, systems and methods of this disclosure may be betterunderstood with reference to the following drawings and description.Non-limiting and non-exhaustive embodiments are described with referenceto the following drawings. The components in the drawings are notnecessarily to scale. Emphasis instead is placed upon illustrating theprinciples of the invention. In the drawings, like referenced numeralsdesignate corresponding parts throughout the different views.

FIG. 1(a) is a flowchart showing an image displaying method according toan exemplary embodiment.

FIG. 1(b) illustrates an image containing an image region having aplurality of adjoining monochromatic sections.

FIG. 2 is a flowchart showing another image displaying method accordingto an exemplary embodiment.

FIG. 3 is a flowchart showing a further image displaying methodaccording to an exemplary embodiment.

FIG. 4 is a flowchart showing a further image displaying methodaccording to an exemplary embodiment.

FIG. 5 is a schematic block diagram showing an image displaying deviceaccording to an exemplary embodiment.

FIG. 6 is a schematic block diagram showing another image displayingdevice according to an exemplary embodiment.

FIG. 7 is a schematic block diagram showing a further image displayingdevice according to an exemplary embodiment.

FIG. 8 is a schematic block diagram showing a further image displayingdevice according to an exemplary embodiment.

FIG. 9 is a schematic block diagram showing a further image displayingdevice according to an exemplary embodiment.

FIG. 10 is a schematic block diagram showing a further image displayingdevice according to an exemplary embodiment.

FIG. 11 is a block diagram showing an image displaying device accordingto an exemplary embodiment.

FIG. 12 illustrates a display device having an LCD panel and a touchscreen.

DETAILED DESCRIPTION

Reference throughout this specification to “one embodiment,” “anembodiment,” “exemplary embodiment,” or the like in the singular orplural means that one or more particular features, structures, orcharacteristics described in connection with an embodiment is includedin at least one embodiment of the present disclosure. Thus, theappearances of the phrases “in one embodiment” or “in an embodiment,”“in an exemplary embodiment,” or the like in the singular or plural invarious places throughout this specification are not necessarily allreferring to the same embodiment. Furthermore, the particular features,structures, or characteristics in one or more embodiments may becombined in any suitable manner.

The terminology used in the description of the disclosure herein is forthe purpose of describing particular examples only and is not intendedto be limiting of the disclosure. As used in the description of thedisclosure and the appended claims, the singular forms “a,” “an,” and“the” are intended to include the plural forms as well, unless thecontext clearly indicates otherwise. Also, as used in the descriptionherein and throughout the claims that follow, the meaning of “in”includes “in” and “on” unless the context clearly dictates otherwise. Itwill also be understood that the term “and/or” as used herein refers toand encompasses any and all possible combinations of one or more of theassociated listed items. It will be further understood that the terms“may include,” “including,” “comprises,” and/or “comprising,” when usedin this specification, specify the presence of stated features,operations, elements, and/or components, but do not preclude thepresence or addition of one or more other features, operations,elements, components, and/or groups thereof.

The methods, devices, and modules described herein may be implemented inmany different ways and as hardware, firmware, software or in differentcombinations of hardware, firmware, and software. For example, all orparts of the implementations may be a processing circuitry that includesan instruction processor, such as a central processing unit (CPU),microcontroller, a microprocessor; or application specific integratedcircuits (ASICs), digital signal processors (DSPs), digital signalprocessing devices (DSPDs), programmable logic devices (PLDs), fieldprogrammable gate arrays (FPGAs), controllers, micro-controllers,microprocessors, other electronic components; or as circuitry thatincludes discrete logic or other circuit components, including analogcircuit components, digital circuit components or both; or anycombination thereof. The circuitry may include discrete interconnectedhardware components or may be combined on a single integrated circuitdie, distributed among multiple integrated circuit dies, or implementedin a Multiple Chip Module (MCM) of multiple integrated circuit dies in acommon package, as examples.

Subject matter will now be described in more detail hereinafter withreference to the accompanying drawings. The drawings form a part hereof,and show, by way of illustration, specific exemplary embodiments.Subject matter may, however, be embodied in a variety of different formsand, therefore, covered or claimed subject matter is intended to beconstrued as not being limited to any exemplary embodiments set forthherein. A reasonably broad scope for claimed or covered subject matteris intended. Among other things, for example, subject matter may beembodied as methods, devices, components, or systems. The followingdetailed description is, therefore, not intended to be taken in alimiting sense. In the following description, when the accompanyingdrawings are referred to, like numbers in different drawings representlike elements unless otherwise specified.

In order to overcome problems with the related technology, thedisclosure provides image displaying methods, devices and computerreadable storage media, whereby color banding and artificial abruptchange of color may be prevented or reduced when a soft screen is usedto display regions of similar colors in an image.

FIG. 1(a) is a flowchart showing an image displaying method according toan exemplary embodiment of this disclosure. The image displaying methodas shown in FIG. 1(a) may be implemented in smart devices, such asmobile phones, computers, digital broadcast terminals, messagingdevices, game consoles, tablets, medical equipment, fitness equipment,and personal digital assistants. The image displaying method accordingto this disclosed embodiment may prevent color banding when a softscreen in a smart device displays regions of similar and continuouslyvarying colors in an image.

In step S11, an image is acquired by the smart device upon receipt of aninstruction for displaying the image. Specifically, the smart device maybe used to render still images or video frames. An image or video frame,referred to as an image hereinafter, may be delivered from anycommunications networks connected to the smart device or may bepreloaded into the storage of the smart device. The smart device may beinstructed or receive a request from a user to display an image or playa video when the user of the device runs an image or video renderingapplication on the smart device. Upon receipt of the instruction orrequest for displaying the designated image, the smart device may readfrom its storage or download from the communications network thedesignated image. The storage of the smart device may be of any physicalform, such as hard disk, flash memory, and optical disk. Those ofordinary skill in the art understand that an image may be composed of aplurality of pixels each having a color value and may be stored ordelivered from the communications network in compressed form.Accordingly, the smart device may decompress the image prior to gainingaccess to the color values of the pixels.

In step S12, an image region composed of at least three continuouslyadjoining monochromatic sections in the designated image is determinedby the smart device. To be continuously adjoining, the monochromaticsections forms one continuous and unbroken image region. Eachmonochromatic section is adjacent to at least one other monochromaticsection but is not necessarily adjacent to two or more monochromaticsections. Here, a monochromatic section is composed of a plurality ofadjoining pixels having the same color value. The color value can beexpressed in RGB system well known in the art. For example, themonochromatic section may be composed of 6 pixels arranged in 2 linesand 3 columns and the 6 pixels in the 2 lines and 3 columns are all purered, i.e., the RGB value of each of these 6 pixels is RGB (255, 0, 0).It is assumed in the embodiments of this disclosure that color valuesare in the resolution of 8 bit. However, in some other embodiments, theRGB color space may have resolution higher than 8 bit. Each RGB valueset represents one unique color. A group of colors may be referred tounder the same name but are still considered distinctive colors. Forexample, RGB value sets (255, 0, 0), (200, 0, 0) and (100, 0, 0) may allbe referred to as pure red with distinctive brightness. But under theRGB system and in accordance with this disclosure, they are threedistinctive colors. Those of ordinary skill in the art understand thatRGB system may be derived from various known or unknown tri-colorimetricbasis, such as sRGB, Adobe RGB, Adobe wide gamut RGB, and scRGB. Thetri-colorimetric values may be on liner scale or may be gamma-corrected,as is well known in the art. In addition, RGB is merely an exemplarycolor descriptive system according to the principles of colorimetry. Thepresent embodiment and other embodiments disclosed in this specificationare equally applicable to other color description systems, such as colordescription system based on luma and chroma, such as YCrCb and YPbPr,

The image region determined in step S12 is preferably composed of atleast three adjoining monochromatic sections and each monochromaticsection includes a plurality of adjoining pixels. This is illustrated inFIG. 1(b), which shows an image to be displayed. The image contains anarray of pixels. FIG. 1(b) show an array of 400 pixels. However, animage and the corresponding display screen may contains any othersuitable number of pixels. As an example, the image region A may include6 adjoining monochromatic sections A1-A6. The first monochromaticsection A1 may be composed of 6 pixels in 2 lines and 3 columns, and the6 pixels in 2 lines and 3 columns are all pure red with almost fullbrightness, i.e., the color value of these 6 pixels in RGB is (250, 0,0). The second monochromatic section A2 may be composed of 4 pixels in 2lines and 2 columns, and the 4 pixels in 2 lines and 2 columns may beall pure red but with less brightness, e.g., the color value of the 4pixels in RGB may be (240, 0, 0). The third monochromatic section A3 maybe composed of 4 pixels in 2 lines and 2 columns, and the 4 pixels in 2lines and 2 columns may also be pure red but even less bright, e.g., thecolor value of the 4 pixels may be RGB (230, 0, 0). The fourthmonochromatic section A4 may be composed of 6 pixels in 2 lines and 3columns and the 6 pixels in 2 lines and 3 columns may be all pure redbut less bright than the third monochromatic section, e.g., the colorvalue of the 6 pixels in RGB may be (220, 0, 0). The fifth monochromaticsection A5 may be composed of 6 pixels in 3 lines and 2 columns and the6 pixels in 3 lines and 2 columns may be all pure red but less brightthan the fourth monochromatic section, e.g., the color value of the 6pixels in RGB may be (210, 0, 0). The sixth monochromatic section A6 maybe composed of 8 pixels in 2 lines and 4 columns and the 8 pixels in 2lines and 4 columns may be all pure red but less bright than the fifthmonochromatic section, e.g., the color value of the 8 pixels in RGB maybe (200, 0, 0). Thus, the image region A is composed of the above 6adjoining monochromatic sections and includes a total of 34 pixels. Eachmonochromatic section contains a plurality of adjoining pixels. Pixelsare adjoining if they cover a continuous and unbroken area. Themonochromatic sections A1-A6 are rectangular in shape in the exampleabove but may be in irregular shape. These regions each have differentcolors but these colors may be similar and may be intended to show asmooth and continuous transition of various shade of red frommonochromatic section 1 to monochromatic section 6. Those of ordinaryskill in the art understand that similar colors are not limited to theslightly different shade of red in the example above. Any colors thatare sufficiently close in any one or combination of the three RGBcomponents may be considered identical in color. For example, (100, 40,80) may be considered similar color to (110, 40, 80), or (100, 44, 80),or (102, 38, 82).

After the smart device finds at least one image region composed of atleast three adjoining monochromatic sections in the designated image, itacquires color values for the respective monochromatic sections in theat least one image region. For example, it is assumed that the imageregion A located by the smart device in the image includes the 4adjoining monochromatic sections described above. The smart deviceacquires color value of the first, second, third, and fourthmonochromatic sections and respectively obtains RGB values of (250, 0,0), (240, 0, 0), (230, 0, 0), and (220, 0, 0).

In step S13, when a difference in color value between any two adjacentones of the adjoining monochromatic sections in the image region is lessthan a threshold value, a target color value is determined andcalculated in accordance with a predetermined scheme by using colorvalues of the monochromatic sections in the image region. Thedetermination and calculation of the target value may be triggered undermore rigid conditions. For example, target color value may be calculatedonly when differences between all adjacent sections of the monochromaticsections are less than a predetermined threshold. Here, the thresholdmay be a predetermined color difference value. For example, thethreshold value may be preset to RGB difference of (15, 15, 15). Thedifference between RGB values of the adjoining monochromatic sectionsrepresents the degree of similarity of the colors of the regions. Thesmaller the value, the closer the colors. When the colors between twoadjoining monochromatic sections become closer than the threshold, asoft panel, by its physical characteristics and response, may displaythe two colors visually identically even though the panel is drivenphysically with parameters intended to display two different colors.Thus, a soft panel may display monochromatic sections 1 and 2 of theexemplary embodiment above in the same visual color, and displaymonochromatic sections 3 and 4 in one different color. The two displayedcolors may be visually different and non-continuous. They thus mayappear visually as two bands of red with an abrupt boundary. The softpanel thus may distort the intended smooth color transition from themonochromatic section 1 to 4. By replacing the color values of thesemonochromatic sections with some target color values when the colordifference from one monochromatic section to another adjacent section isless than the predetermined threshold, the smart device may enable thesoft panel to display the image region without color banding describedabove.

For instance, it is assumed that the threshold value is preset to an RGBdifference of (20, 20, 20). The smart device determines an image regionA composed of 6 adjoining monochromatic sections in an image region ofthe image, as is shown in FIG. 1(b). The RGB values of the first tosixth monochromatic sections A1-A6 are respectively (250, 0, 0), (240,0, 0), (230, 0, 0), (220, 0, 0), (210, 0, 0) and (200, 0, 0).Furthermore, the monochromatic sections A1 through A6 are adjoining insuccession. The smart device may calculate a difference in color valuebetween each two adjacent ones of adjoining monochromatic sections inthe image region and determine whether the difference is less than athreshold value of RGB (20, 20, 20). Specifically, the smart devicefinds through the calculation that the difference in color value betweeneach two adjacent monochromatic sections in the image region A of thedesignated image is equal to RGB (10, 0, 0), less than the thresholdvalue RGB (20, 20, 20). This may indicate to the smart device that theadjoining monochromatic sections in the image region have similar colorvalues and when the designated image is displayed on some soft screens,some monochromatic sections in the image region of the designated imagemay be displayed in the same color, causing color banding with sharpchange of color and unsmooth color transition in the image region.

In step S14, the smart device may determine target color values for themonochromatic regions having similar colors in accordance with somepredetermined scheme and replace the color values of the monochromaticsections in the image region with the target color values, therebyavoiding color banding and sharp change of color in the image region.

Various ways for determining and calculating the target color valueusing the color values of the monochromatic sections in the image regionmay be implemented in accordance with the embodiment above. In thefollowing, two specific implementations are described.

In the first implementation, the smart device calculates an averagevalue of the color values of the adjacent monochromatic sections in theimage region having similar colors and then uses the calculated averagevalue as the target color value for all the adjacent monochromaticsections. For example, it is assumed that the smart device determinesthat an image region A in the designated image is composed of 6adjoining monochromatic sections, as is described previously and shownin FIG. 1(b), i.e., the RGB values of the first monochromatic section A1 to the sixth monochromatic section A6 are respectively (250, 0, 0),(240, 0, 0), (230, 0, 0), (220, 0, 0), (210, 0, 0), and (200, 0, 0). Thesmart device calculates an average value of the color values of the 6adjoining monochromatic sections in the image region A for each RGBcomponent, which is [(250, 0, 0)+(240, 0, 0)+(230, 0, 0)+(220, 0, 0)+(210, 0, 0) +(200, 0, 0)] / 6 =(225, 0, 0). In accordance with thefirst implementation, the smart device set the average value RGB (225,0, 0) as the target color value for the 6 adjacent monochromaticsections.

In the second implementation for determining the target color value forthe monochromatic sections, the smart device may derive the target colorvalue from a maximal color value and a minimal color value in the imageregion and a predetermined coefficient. Specifically, the maximal colorvalue and the minimal color value of the adjoining monochromaticsections in the image region are determined by the smart device. Themaximal or minimal color value may be determined by finding the maximumor minimum of each of the RGB component within the image region. Forexample, the R component of the maximal color value may be the maximumof the R values for all the monochromatic sections in the image region.The smart device then obtains a first color value by calculating thedifference between the maximal color value and the minimal color value.The smart device then scale the first color value to obtain a secondcolor value by multiplying the first color value with the predeterminedcoefficient. Finally, the smart device obtains the target color value bycalculating the sum of the minimal color value and the second colorvalue.

For example, the predetermined coefficient may be 0.6. It is assumedagain that the smart device determines that an image region A in theimage is composed of 6 adjoining monochromatic sections as shown in FIG.1(b) and the RGB values of the first to sixth monochromatic sections A1to A6 are (250, 0, 0), (240, 0, 0), (230, 0, 0), (220, 0, 0), (210, 0,0), and (200, 0, 0), respectively. Then, the smart device determinesthat the maximal RGB color value is (250, 0, 0) and the minimal RGBcolor value is (200, 0, 0) in the image region. The smart device thendetermines that the difference between the maximal color value and theminimal color value of the adjacent monochromatic sections in the imageregion is (250, 0, 0)−(200, 0, 0)=(50, 0, 0). The smart device sets thisdifference value as the first color value. Next, a product of the firstcolor value (50, 0, 0) and the predetermined coefficient 0.6 iscalculated as the second color value: (50, 0, 0)×0.6=(30, 0, 0).Thereafter, a sum of the minimal color value (200, 0, 0) and the secondcolor value (30, 0, 0) is calculated as the target color value: (200, 0,0)+(30, 0, 0)=(230, 0, 0).

Those skilled in the art understand that the two implementations indetermining the target color value of the adjacent monochromaticsections of an image region is for illustration purpose only. Many otherimplementations may be suitable and within the spirit of the currentdisclosure. In addition, while the above implementation aims atreplacing all the adjacent monochromatic sections with the same targetcolor value, the smart device may divide the monochromatic sections intogroups and replace each group with a different target color value. Thetarget values for the groups of monochromatic sections may be determinedsuch that a soft screen may be capable of displaying them with smoothtransitions and without color banding and sharp visual color boundaries.

In step S14, the smart device replaces the color values of themonochromatic sections of the image region in the designated image bythe target color value or values to generate a target image. Other partsof the target image may be kept unaltered and the same as those of theoriginal image.

In step S15, the target image is delivered to the screen and isdisplayed. Even if the display screen of the smart device may be a softscreen, color banding and sharp change of color may be prevented whenthe target image is displayed.

Thus, in the embodiment shown in FIG. 1, before an image is displayed,the smart device first determine and locate an image region composed ofat least three monochromatic sections in the designated image inadvance. Those of ordinary skill in the art understand that there may bea plurality of such image regions and the smart device may identify eachof these image regions in the image under the same principle describedabove. For each of these image regions, the smart device may furtherdetermine whether the difference in color value between each twoadjacent ones of the adjoining monochromatic sections in the imageregion is less than a predetermined threshold value. A difference colorvalue that is smaller than the predetermined threshold indicates thatthe adjoining monochromatic sections in the image region have similarcolors. In order to avoid color banding and sharp change of color ratherthan a smooth transition when the designated image is displayed by asoft screen, one or more target color values are determined by the smartdevice for replacing the color values of the adjacent monochromaticsections in the image region that have similar colors. A resultingtarget image is thus generated and displayed, thereby avoiding colorbanding and abrupt change of color.

FIG. 2 is a flowchart showing another image displaying method accordingto another exemplary embodiment. The image displaying method shown inFIG. 2 may be implemented in smart devices, such as mobile phones,computers, digital broadcast terminals, messaging devices, gameconsoles, tablets, medical equipment, fitness equipment, and personaldigital assistants. The embodiment shown in FIG. 2 is a further variantof the embodiment shown in FIG. 1(a). Steps S21-S25 are identical toS11-S15 of the embodiment of FIG. 1 and the description and explanationabove for FIG. 1(a) apply to the steps S21-S25. The method shown in FIG.2 further comprises the following steps for displaying an image that hasbeen previously displayed.

In step S26, the target image determined by the smart device is storedin a storage medium for reuse after being displayed on the displayscreen. The smart device may store the target image in any storagemedium including but not limited to magnetic disk, flash memory, andoptical disk. The smart device may store the target image for variouspurposes. For example, when future need arises for redisplay of the sameimage, the smart device may acquire the target image from its storagewithout having to repeat the above steps S21-S24.

In step S27, a correspondence relation between the designated image andthe target image is established and logged by the smart device. Thecorrespondence relationship may be maintained in a lookup tablecontaining pointers to a plurality of designated images and pointers tothe corresponding plurality of target images. The lookup table or anyother implementation may facilitate the smart device in displayingrepeatedly requested images.

In step S28, upon receiving a request for displaying an image, the smartdevice determines whether the requested designated image corresponds toa target image already stored in the storage medium based on thecorrespondence relationship, e.g., the lookup table, between designatedimages and the corresponding target images. If such a correspondingimage is found in the lookup table, then the corresponding target imageis used as the target image for the current requested image.

In step S29, the target image is displayed by the smart device.

FIG. 3 is a flowchart showing a further image displaying methodaccording to another exemplary embodiment. The image displaying methodshown in FIG. 3 is applicable to smart devices such as mobile phones,computers, digital broadcast terminals, messaging devices, gameconsoles, tablets, medical equipment, fitness equipment, and personaldigital assistants. The embodiment shown in FIG. 3 is a further variantof the embodiment shown in FIG. 2. Steps S31-S37 are identical toS21-S27 of the embodiment of FIG. 2 and the description and explanationabove apply to the steps S31-S37. The method shown in FIG. 3 furthercomprises the following steps.

In step S38, upon receiving a request for deleting an image from, forexample, the storage medium of the smart device, the smart devicedetermines whether a target image corresponding to the image requestedto be deleted was previously processed, displayed, and thus also storedin the storage medium of based on the lookup table between images andtarget images. Here, the receipt of the instruction or request fordeleting an image indicates that the user does not need the image in thenear future. Thus, the user does not need the target image either. Thesmart device therefore may delete the target image from its storagemedium in addition to deleting the image as requested.

In step S39, the requested image and the target image are deleted fromthe storage medium of the smart device.

FIG. 4 is a flowchart showing another image displaying method accordingto another exemplary embodiment. The method shown in FIG. 4 isapplicable to smart devices such as mobile phones, computers, digitalbroadcast terminals, messaging devices, game consoles, tablets, medicalequipment, fitness equipment, and personal digital assistants. Theembodiment shown in FIG. 4 is a variant of the embodiment shown in FIG.1(a). For steps that are identical to FIG. 1(a), description andexplanation of the embodiment shown in FIG. 1(a) apply. The method shownin FIG. 4 comprises the following steps.

In Step S41, an image is acquired upon receipt of an instruction orrequest for displaying the designated image. This step is similar to S11of FIG. 1(a).

In step S42, the smart device determines the type of screen for thedisplay device for displaying the requested image. The display screenmay be a build-in screen in the smart device. It may be an externaldisplay device connected to the smart device by wire or wirelessconnections well known in the art. As described previously, if thedisplay screen is a soft screen, similar and non-identical colors in theimage may be displayed as the same color, leading to potential colorbanding and unintended abrupt change of colors. On the contrary, a hardscreen may not be faced with such a problem.

In step S43, the smart device determines whether the display device is asoft screen. When the display device is a soft screen, step S45 isexecuted. When the display device for displaying the requested image isnot a soft screen, step S44 is executed. In step S44, the display devicemay be used to display the requested image without modification becausehard screens may not be faced with color banding problem. In stepS45-S48, however, the device follows the steps of S12 to S15 to processand display a corresponding target image on the soft screen rather thanthe originally requested image for preventing color banding and abruptcolor changes in image regions where continuous and smooth colortransition may be intended.

FIG. 5 is the schematic block diagram showing an image displaying deviceaccording to an exemplary embodiment for preventing color banding andabrupt change of color from occurring when a soft screen displaysregions of similar colors in an image. Referring to FIG. 5, the devicecomprises an acquiring module 11, a first determining module 12, asecond determining module 13, a modifying module 14 and a first displaymodule 15.

The acquiring module 11 is configured to acquire an image upon receiptof an instruction or request for displaying the image. The firstdetermining module 12 is configured to determine and identify whether animage region is composed of at least three adjoining monochromaticsections in the designated image. The second determining module 13 isconfigured to determine and calculate one or more target color values inaccordance with a preset scheme based on color values of themonochromatic sections in the image region, when a difference in colorvalue between each two adjacent ones of the adjoining monochromaticsections in the image region is less than a threshold value. Themodifying module 14 is configured to replace color values of the imageregion in the requested image with the target color values so as togenerate a target image. The first display module 15 is configured todisplay the target image.

FIG. 6 is a schematic block diagram showing another image displayingdevice according to an exemplary embodiment for preventing color bandingand abrupt change of color from occurring when a soft screen displaysregions of similar colors in an image. Referring to FIG. 6, the devicecomprises an acquiring module 21, a first determining module 22, asecond determining module 23, a modifying module 24, a first displaymodule 25, a first storage module 26, a first establishing module 27, athird determining module 28 and a second display module 29.

The acquiring module 21 is configured to acquire an image upon receiptof an instruction or request for displaying the image. The firstdetermining module 22 is configured to determine and locate whether animage region is composed of at least three adjoining monochromaticsections in the requested image. The second determining module 23 isconfigured to determine and calculate one or more target color values inaccordance with a preset scheme by using color values of themonochromatic section in the image region when a difference in colorvalue between any two adjacent ones of the adjoining monochromaticsections in the image region is less than a threshold value. Themodifying module 24 is configured to replace color values of the imageregion in the designated image with the one or more target color valuesso as to generate a target image. The first display module 25 isconfigured to display the target image. The first storage module 26 isconfigured to store the target image in a storage medium for reuse. Thefirst establishing module 27 is configured to establish and log acorrespondence relation between the designated image and the targetimage in an exemplary form of lookup table. Upon receipt of anotherinstruction or request for redisplaying the designated image, the thirddetermining module 28 is configured to determine whether the targetimage corresponding to the designated image is already stored in thestorage medium based on the correspondence relation between designatedimages and target images. If the corresponding target image is found,the smart device may use it as target image rather than recalculatingit. The second display module 29 is configured to display the targetimage of the requested image in the other instruction or request.

FIG. 7 is a schematic block diagram showing a further image displayingdevice according to another exemplary embodiment for preventing colorbanding and abrupt change of color from occurring when a soft screendisplays regions of similar colors in an image. Referring to FIG. 7, thedevice comprises an acquiring module 31, a first determining module 32,a second determining module 33, a modifying module 34, a first displaymodule 35, a second storage module 36, a second establishing module 37,a fourth determining module 38, and a deletion module 39.

The acquiring module 31 is configured to acquire an image upon receiptof an instruction or request for displaying the designated image. Thefirst determining module 32 is configured to determine and locatewhether an image region is composed of at least three adjoiningmonochromatic sections in the image. The second determining module 33 isconfigured to determine and calculate one or more target color values inaccordance with a preset scheme by using color values of themonochromatic sections in the image region when a difference in colorvalue between any two adjacent ones of the adjoining monochromaticsections in the image region is less than a threshold value. Themodifying module 34 is configured to replace color values of the imageregion in the designated image with the one or more target color valuesso as to generate a target image. The first display module 35 isconfigured to display the target image. The second storage module 36 isconfigured to store the target image in a storage medium. The secondestablishing module 37 is configured to establish and log acorrespondence relation between the designated image and the targetimage in an exemplary form of lookup table. Upon receipt of aninstruction or request to delete the designated image, the fourthdetermining module 38 is configured to determine whether the targetimage corresponding to the designated image is already stored in thestorage medium based on the correspondence relation between designatedimages and target images in the lookup table. If the correspondingtarget image is found, then the deleting module 39 is configured todelete the target image in addition to the designated image asrequested.

FIG. 8 is a schematic block diagram showing a further image displayingdevice according to another exemplary embodiment for preventing colorbanding and abrupt change of color from occurring when a soft screendisplays regions of similar colors in an image. Referring to FIG. 8, thedevice comprises an acquiring module 41, a first determining module 42,a second determining module 43, a modifying module 44, a first displaymodule 45, a fifth determining module 46, a judging module 47, atriggering module 48 and a third display module 49.

The acquiring module 41 is configured to acquire an image upon receiptof an instruction or request for displaying the image. The firstdetermining module 42 is configured to determine and locate whether animage region is composed of at least three adjoining monochromaticsections in the requested image. The second determining module 43 isconfigured to determine and calculate one or more target color values inaccordance with a preset scheme by using color values of themonochromatic sections in the image region when a difference in colorvalue between any two adjacent ones of the adjoining monochromaticsections in the image region is less than a threshold value. Themodifying module 44 is configured to replace color values of the imageregion in the requested image with the target color values so as togenerate a target image. The first display module 45 is configured todisplay the target image. The fifth determining module 46 is configuredto determine the type of a display device for displaying the requestedimage. The judging module 47 is configured to determine whether thedisplay device for displaying the requested image is a soft screen. Thetriggering module 48 is configured to trigger the first determiningmodule 42 when the display device for displaying the designated image isa soft screen. The third display module 49 is configured to display theimage by using the display device when the display device for displayingthe designated image is not a soft screen.

FIG. 9 is a schematic block diagram showing a further image displayingdevice according to another exemplary embodiment for preventing colorbanding and abrupt change of color from occurring when a soft screendisplays regions of similar colors in an image. Referring to FIG. 9, thedevice comprises an acquiring module 51, a first determining module 53,a second determining module 52, a modifying module 54, and a firstdisplay module 55. The second determining module 52 further includes afirst calculation submodule 521 and a determining submodule 522.

The acquiring module 51 is configured to acquire an image upon receiptof an instruction or request for displaying the image. The firstdetermining module 53 is configured to determine whether an image regionis composed of at least three adjoining monochromatic sections in theimage. The second determining module 52 is configured to determine andcalculate one or more target color values in accordance with a presetscheme by using color values of the monochromatic sections in the imageregion when a difference in color values between each two adjacent onesof the adjoining monochromatic sections in the image region is less thana threshold value. The first calculation submodule 521 is configured tocalculate an average value of the color values of the monochromaticsections in the image region. The determining submodule 522 isconfigured to determine said average value as the target color value.The modifying module 54 is configured to replace color values of theimage region of the requested image with the target color values so asto generate a target image. The first display module 55 is configured todisplay the target image.

FIG. 10 is a schematic block diagram showing a further image displayingdevice according to another exemplary embodiment for preventing colorbanding and abrupt change of color from occurring when a soft screendisplays regions of similar colors in an image. Referring to FIG. 10,the device comprises an acquiring module 61, a first determining module63, a second determining module 62, a modifying module 64, a firstdisplay module 65. The second determining module 62 includes anacquiring submodule 621, a second calculation submodule 622, a thirdcalculation submodule 623 and a fourth calculation submodule 624.

The acquiring module 61 is configured to acquire an image upon receiptof an instruction or request for displaying the image. The firstdetermining module 63 is configured to determine whether an image regionis composed of at least three adjoining monochromatic sections in therequested image. The second determining module 62 is configured todetermine and calculate one or more target color values in accordancewith a preset scheme by using color values of the monochromatic sectionsin the image region when a difference in color value between each twoadjacent ones of the adjoining monochromatic sections in the imageregion is less than a threshold value. The acquiring submodule 621 isconfigured to acquire a maximal color value and a minimal color value inthe image region. The second calculation submodule 622 is configured tocalculate a difference between the maximal color value and the minimalcolor value in the image region as a first color value. The thirdcalculation submodule 623 is configured to calculate a product of thefirst color value and a predetermined coefficient as a second colorvalue. The fourth calculation submodule 624 is configured to calculate asum of the minimal color value and the second color value as the targetcolor value. The modifying module 64 is configured to replace colorvalues of the image region in the designated image with the target colorvalue so as to generate a target image. The first display module 65 isconfigured to display the target image.

Specific operations performed by the modules in the above deviceembodiments have been described in detail in corresponding methodembodiments. Detailed description is omitted here and can be found inprevious method embodiments.

FIG. 11 is a block diagram showing an image displaying device 800according to an exemplary embodiment. The device 800 may be a smartdevice including but not limited to a mobile phone, a computer, adigital broadcast terminal, a messaging device, a game console, atablet, a medical equipment, a fitness equipment, and a personal digitalassistant.

Referring to FIG. 11, the device 800 may include one or more of thefollowing components: a processing component 802, a memory 804, a powercomponent 806, a multimedia component 808, an audio component 810, aninput/output (I/O) interface 812, a sensor component 814 and acommunication component 816.

The processing component 802 preferably controls the overall operationsof the device 800, such as the operations associated with display,telephone calls, data communications, camera operations, and recordingoperations. The processing component 802 may include one or moreprocessors 820 for executing instructions to perform all or part of thesteps in the above described methods. Moreover, the processing component802 may include one or more modules which facilitate the interactionbetween the processing component 802 and other components. For instance,the processing component 802 may include a multimedia module tofacilitate the interaction between the multimedia component 808 and theprocessing component 802.

The memory 804 is configured to store various types of data to supportthe operation of the device 800. Examples of such data includeinstructions for any applications or operating system operated on thedevice 800, and data such as contact data, phonebook data, messages,images, and video. The memory 804 may be implemented using any type ofvolatile or non-volatile memory devices, or a combination thereof, suchas a static random access memory (SRAM), an electrically erasableprogrammable read-only memory (EEPROM), an erasable programmableread-only memory (EPROM), a programmable read-only memory (PROM), aread-only memory (ROM), a magnetic memory, a flash memory, a magnetic oroptical disk.

The power component 806 supplies power to various components of thedevice 800. The power component 806 may include a power managementsystem, one or more power sources, and any other components associatedwith the generation, management, and distribution of power in the device800.

The multimedia component 808 includes a screen providing an outputinterface between the device 800 and the user. In some embodiments, thescreen may include a liquid crystal display (LCD) and a touch panel(TP). FIG. 12 shows an example of a soft LCD display. The display 900includes an LCD panel 902 comprising an array of individuallyaddressable pixels 904. The array of pixels is driven by line and columndrivers 906 well known in the art. The input image data (or target imagedata processed by the smart device) is stored in a frame buffer 908. Theimage data is feed through the line and column driver to drive theliquid crystal in each pixel to a desired physical state such that eachpixel in combination with other optical films such as a polarizerfilters the back light (not shown) to the desired light level. Thescreen may include a touch panel 910. Thus, the screen may beimplemented as a touch screen to receive input signals from the user.The touch panel includes one or more touch sensors to sense touches,slips, and gestures on the touch panel. The touch sensors may not onlysense a boundary of a touch or slip action, but also sense a period oftime and a pressure associated with the touch or slip action. In someembodiments, the multimedia component 808 includes a front camera and/ora rear camera. The front camera and the rear camera may receive externalstimuli and produce multimedia data while the device 800 is in anoperation mode, such as a photographing mode or a video mode. Each ofthe front camera and the rear camera may be a camera system employingfixed optical lens or lens having focus and optical zoom capability.

The audio component 810 is configured to output and/or input audiosignals. For example, the audio component 810 may include a microphone(“MIC”) configured to receive an external audio signal when the terminaldevice 800 is in an operation mode, such as a call mode, a recordingmode, and a voice recognition and voice-command input mode. The receivedaudio signal may be further stored in the memory 804 or transmitted viathe communication component 816. In some embodiments, the audiocomponent 810 further includes a speaker to output audio signals.

The I/O interface 812 provides an interface between the processingcomponent 802 and peripheral interface modules, such as keyboards, clickwheels, and input push buttons. The buttons may include, but are notlimited to, a home button, a volume button, a starting button, and alocking button.

The sensor component 814 includes one or more sensors to provide andassessing various status of the device 800. For instance, the sensorcomponent 814 may detect an open/closed status of the device 800,relative physical position and/or orientation of components (e.g., thedisplay and the keypad, of the device 800), a change in position and/ororientation of the device 800 or a component of the device 800, apresence or absence of user contact/touch with the device 800, anacceleration/deceleration of the device 800, and/or a change intemperature of the device 800. The sensor component 814 may furtherinclude a proximity sensor configured to detect the presence of nearbyobjects without any physical contact. The sensor component 814 may alsoinclude a light sensor, such as a CMOS or CCD image sensor, for use inimaging applications. In some embodiments, the sensor component 814 mayalso include one or more of accelerometers, gyroscopes, magneticsensors, pressure sensors, and thermometers.

The communication component 816 is configured to facilitate wired orwireless communications between the device 800 and other devices. Thedevice 800 may access a wireless network based on any communicationsstandard, such as WiFi, 2G cellular networks, 3G cellular networks, LTEnetworks, 4G cellular networks, or a combination thereof. In oneexemplary embodiment, the communication component 816 receives abroadcast signal or broadcast associated information from an externalbroadcast management system via a broadcast channel. In one exemplaryembodiment, the communication component 816 further includes a nearfield communication (NFC) module to facilitate short-rangecommunications. For example, the NFC module may be implemented based ona radio frequency identification (RFID) technology, an infrared dataassociation (IrDA) technology, an ultra-wideband (UWB) technology, aBluetooth (BT) technology, and other technologies.

In one exemplary embodiment, the device 800 may be implemented with oneor more application specific integrated circuits (ASICs), digital signalprocessors (DSPs), digital signal processing devices (DSPDs),programmable logic devices (PLDs), field programmable gate arrays(FPGAs), controllers, micro-controllers, microprocessors, or otherelectronic components, for performing the method described above.

In another exemplary embodiment, a non-transitory computer-readablestorage medium is provided which includes instructions that may beexecuted by the processor 820 in the device 800 to perform theabove-described methods. The non-transitory computer-readable storagemedium may include but is not limited to a ROM, a RAM, a CD-ROM, amagnetic tape, a magnetic disk, a floppy disc, and an optical datastorage device.

For example, the instructions stored in the non-transitorycomputer-readable medium may be executed in a mobile terminal. When theinstructions are executed by a processor of the mobile terminal, themobile terminal is configured to perform an image displaying method,which comprises: upon receipt of an instruction or request fordisplaying an image, acquiring the image; determining and locating animage region composed of at least three adjoining monochromatic sectionsin the requested image; when a difference in color value between eachtwo adjacent ones of the adjoining monochromatic sections is less than apredetermined threshold value, determine and calculate one or moretarget color values using color values of the monochromatic sections inthe image region; replacing color values of the image region in therequested image with the one or more target color values to generate atarget image; and displaying the target image.

Each module or unit discussed above for FIG. 5-10, such as the acquiringmodule, the first determining module, the second determining module, themodifying module, the first display module, the first storage module,the first establishing module, the second establishing module, the thirddetermining module, the fourth determining module, the second displaymodule, the fifth determining module, the judging module, the triggeringmodule, the third display module, the first calculation submodule, thedetermining submodule, the acquiring submodule, the second calculationmodule, the third calculation module, the fourth calculation module, thedeleting module, the first storage module, and the second storagemodule, may take the form of a packaged functional hardware unitdesigned for use with other components, a portion of a program code(e.g., software or firmware) executable by the processor 820 or theprocessing circuitry that usually performs a particular function ofrelated functions, or a self-contained hardware or software componentthat interfaces with a larger system, for example.

The illustrations of the embodiments described herein are intended toprovide a general understanding of the structure of the variousembodiments. The illustrations are not intended to serve as a completedescription of all of the elements and features of apparatus and systemsthat utilize the structures or methods described herein. Otherembodiments of the disclosure will be apparent to those skilled in theart from consideration of the specification and practice of theembodiments disclosed herein. This application is intended to cover anyvariations, uses, or adaptations of the disclosure following the generalprinciples thereof and including such departures from the presentdisclosure as come within known or customary practice in the art. It isintended that the specification and examples are considered as exemplaryonly, with a true scope and spirit of the invention being indicated bythe following claims in addition to the disclosure.

It will be appreciated that the present disclosure is not limited to theexact construction that has been described above and illustrated in theaccompanying drawings, and that various modifications and changes can bemade without departing from the scope thereof. It is intended that thescope of the disclosure only be limited by the appended claims.

What is claimed is:
 1. An image displaying method, comprising: acquiringan image upon receipt of a request for displaying the image; locating inthe image an image region composed of at least three continuouslyadjoining monochromatic sections; when a difference in color valuebetween any two adjacent sections of the adjoining monochromaticsections in the image region is less than a threshold value, calculatingone or more target color values based on color values of themonochromatic sections in the image region; replacing color values ofthe image region in the image with the one or more target color valuesto generate a target image; and displaying the target image, whereineach of the monochromatic sections comprises a plurality of adjoiningpixels.
 2. The image displaying method according to claim 1, furthercomprising: storing the target image; logging a correspondence relationbetween the image and the stored target image; upon receipt of a requestfor redisplaying the image, determining that the stored target imagecorresponds to the image based on the logged correspondence relationbetween the image and the stored target image; and redisplaying thestored target image.
 3. The image displaying method according to claim1, further comprising: storing the target image; logging acorrespondence relation between the image and the stored target image;upon receipt of a request for deleting the image, determining that thestored target image corresponds to the image based on the loggedcorrespondence relation between the image and the stored target image;and deleting the image and the stored target image.
 4. The imagedisplaying method according to claim 1, wherein calculating one or moretarget color values based on color values of the monochromatic sectionsin the image region comprises: calculating an average value of the colorvalues of the monochrome sections in the image region; and using theaverage value as the target color value.
 5. The image displaying methodaccording to claim 4, wherein a color value is a tri-colorimetric valuecomprising three components and each component of the average value ofthe color values of the monochromatic sections is an average of acorresponding component of all color values of the monochromaticsections.
 6. The image displaying method according to claim 1, whereincalculating one or more target color values based on color values of themonochromatic sections in the image region comprises: acquiring amaximal color value and a minimal color value in the image region;calculating a difference between the maximal color value and the minimalcolor value in the image region as a first color value; calculating aproduct of the first color value and a predetermined coefficient as asecond color value; and calculating a sum of the minimal color value andthe second color value as the target color value.
 7. The imagedisplaying method according to claim 6, wherein a color value is atri-colorimetric value comprising three components; wherein the maximalcolor value comprises three components, each being a maximum value ofcorresponding component values of the monochromatic sections; andwherein the minimal color value comprises three components, each being aminimum value of the corresponding component values of the monochromaticsections.
 8. The image displaying method according to claim 7, whereineach monochromatic section comprises four or more adjoining pixels. 9.An image displaying method, comprising, acquiring an image upon receiptof a request for displaying the image on a display device; determiningwhether the display device is a soft screen; displaying the image in thedisplay device when the display device is not a soft screen; and whenthe display device is a soft screen, locating in the image an imageregion composed of at least three continuously adjoining monochromaticsections wherein each of the monochromatic sections comprises four ormore continuous pixels; when a difference in color value between any twoadjacent sections of the adjoining monochromatic sections in the imageregion is less than a threshold value, calculating one or more targetcolor values based on color values of the monochromatic sections in theimage region; replacing color values of the image region in the imagewith the one or more target color values to generate a target image; anddisplaying the target image in the display device.
 10. A device,comprising: a memory having codes stored therein; and one or moreprocessors, when executing the codes, configured to: acquire an imageupon receipt of a request for displaying the image; locate in the imagean image region composed of at least three continuously adjoiningmonochromatic sections wherein each of the monochromatic sectionscomprises four or more continuous pixels; when a difference in colorvalue between any two adjacent sections of the adjoining monochromaticsections in the image region is less than a threshold value, calculateone or more target color values based on color values of themonochromatic sections in the image region; replace color values of theimage region in the image with the one or more target color values togenerate a target image; and display the target image.
 11. The deviceaccording to claim 10, wherein the one or more processors are furtherconfigured to: store the target image; log a correspondence relationbetween the image and the target image; upon receipt of a request forredisplaying the image, determine that the stored target imagecorresponds to the image based on the logged correspondence relationbetween the image and the stored target image; redisplay the storedtarget image.
 12. The device according to claim 10, wherein the one ormore processors are further configured to: store the target image; log acorrespondence relation between the image and the stored target image;upon receipt of a request for deleting the image, determine that thestored target image corresponds to the image based on the loggedcorrespondence relation between the image and the stored target image;and delete the image and the stored target image.
 13. The deviceaccording to claim 10, wherein the one or more processors, incalculating one or more target color values based on color values of themonochromatic sections in the image region, are configured to: calculatean average value of the color values of the monochromatic sections inthe image region; and use the average value as the target color value.14. The device according to claim 13, wherein a color value is atri-colorimetric value comprising three components and each component ofthe average value of the color values of the monochromatic sections isan average of the corresponding component of all color values of themonochromatic sections.
 15. The image displaying device according toclaim 10, wherein the one or more processors, in calculating one or moretarget color values based on color values of the monochromatic sectionsin the image region, are configured to: acquire a maximal color valueand a minimal color value in the image region; calculate a differencebetween the maximal color value and the minimal color value in the imageregion as a first color value; calculate a product of the first colorvalue and a preset coefficient as a second color value; and calculate asum of the minimal color value and the second color value as the targetcolor value.
 16. The device according to claim 15, wherein a color valueis a tri-colorimetric value comprising three components; wherein themaximal color value comprises three components, each being the maximumvalue of the corresponding component values of the monochromaticsections; and wherein the minimal color value comprises threecomponents, each being the minimum value of the corresponding componentvalues of the monochromatic sections.
 17. A device, comprising: a memoryhaving codes stored therein; and one or more processors, when executingthe codes, configured to: acquire an image upon receipt of a request fordisplaying the image on a display device; determine whether the displaydevice is a soft screen; display the image in the display device whenthe display device is not a soft screen; and when the display device isa soft screen, locate in the image an image region composed of at leastthree continuously adjoining monochromatic sections wherein each of themonochromatic sections comprises four or more continuous pixels; when adifference in color value between any two adjacent sections of theadjoining monochromatic sections in the image region is less than athreshold value, calculating one or more target color values based oncolor values of the monochromatic sections in the image region; replacecolor values of the image region in the image with the one or moretarget color values to generate a target image; and display the targetimage in the display device.
 18. A non-transitory computer-readablestorage medium comprising instructions stored therein that, whenexecuted by a processor of a computing device, causes the computingdevice to: acquire an image upon receipt of a request for displaying theimage; locate in the image an image region composed of at least threecontinuously adjoining monochromatic sections; when a difference incolor value between any two adjacent sections of the adjoiningmonochromatic sections in the image region is less than a thresholdvalue, calculate one or more target color values based on color valuesof the monochromatic sections in the image region; replace color valuesof the image region in the image with the one or more target colorvalues to generate a target image; and display the target image.